Optimal. Leaf size=73 \[ \frac {\sqrt {d+e x^2} \left (a+b \log \left (c x^n\right )\right )}{e}-\frac {b n \sqrt {d+e x^2}}{e}+\frac {b \sqrt {d} n \tanh ^{-1}\left (\frac {\sqrt {d+e x^2}}{\sqrt {d}}\right )}{e} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.08, antiderivative size = 73, normalized size of antiderivative = 1.00, number of steps used = 5, number of rules used = 5, integrand size = 23, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.217, Rules used = {2338, 266, 50, 63, 208} \[ \frac {\sqrt {d+e x^2} \left (a+b \log \left (c x^n\right )\right )}{e}-\frac {b n \sqrt {d+e x^2}}{e}+\frac {b \sqrt {d} n \tanh ^{-1}\left (\frac {\sqrt {d+e x^2}}{\sqrt {d}}\right )}{e} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 50
Rule 63
Rule 208
Rule 266
Rule 2338
Rubi steps
\begin {align*} \int \frac {x \left (a+b \log \left (c x^n\right )\right )}{\sqrt {d+e x^2}} \, dx &=\frac {\sqrt {d+e x^2} \left (a+b \log \left (c x^n\right )\right )}{e}-\frac {(b n) \int \frac {\sqrt {d+e x^2}}{x} \, dx}{e}\\ &=\frac {\sqrt {d+e x^2} \left (a+b \log \left (c x^n\right )\right )}{e}-\frac {(b n) \operatorname {Subst}\left (\int \frac {\sqrt {d+e x}}{x} \, dx,x,x^2\right )}{2 e}\\ &=-\frac {b n \sqrt {d+e x^2}}{e}+\frac {\sqrt {d+e x^2} \left (a+b \log \left (c x^n\right )\right )}{e}-\frac {(b d n) \operatorname {Subst}\left (\int \frac {1}{x \sqrt {d+e x}} \, dx,x,x^2\right )}{2 e}\\ &=-\frac {b n \sqrt {d+e x^2}}{e}+\frac {\sqrt {d+e x^2} \left (a+b \log \left (c x^n\right )\right )}{e}-\frac {(b d n) \operatorname {Subst}\left (\int \frac {1}{-\frac {d}{e}+\frac {x^2}{e}} \, dx,x,\sqrt {d+e x^2}\right )}{e^2}\\ &=-\frac {b n \sqrt {d+e x^2}}{e}+\frac {b \sqrt {d} n \tanh ^{-1}\left (\frac {\sqrt {d+e x^2}}{\sqrt {d}}\right )}{e}+\frac {\sqrt {d+e x^2} \left (a+b \log \left (c x^n\right )\right )}{e}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.09, size = 91, normalized size = 1.25 \[ \frac {a \sqrt {d+e x^2}+b \sqrt {d+e x^2} \log \left (c x^n\right )-b n \sqrt {d+e x^2}+b \sqrt {d} n \log \left (\sqrt {d} \sqrt {d+e x^2}+d\right )-b \sqrt {d} n \log (x)}{e} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.44, size = 124, normalized size = 1.70 \[ \left [\frac {b \sqrt {d} n \log \left (-\frac {e x^{2} + 2 \, \sqrt {e x^{2} + d} \sqrt {d} + 2 \, d}{x^{2}}\right ) + 2 \, \sqrt {e x^{2} + d} {\left (b n \log \relax (x) - b n + b \log \relax (c) + a\right )}}{2 \, e}, -\frac {b \sqrt {-d} n \arctan \left (\frac {\sqrt {-d}}{\sqrt {e x^{2} + d}}\right ) - \sqrt {e x^{2} + d} {\left (b n \log \relax (x) - b n + b \log \relax (c) + a\right )}}{e}\right ] \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {{\left (b \log \left (c x^{n}\right ) + a\right )} x}{\sqrt {e x^{2} + d}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [F] time = 0.35, size = 0, normalized size = 0.00 \[ \int \frac {\left (b \ln \left (c \,x^{n}\right )+a \right ) x}{\sqrt {e \,x^{2}+d}}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.67, size = 69, normalized size = 0.95 \[ \frac {{\left (\sqrt {d} \operatorname {arsinh}\left (\frac {d}{\sqrt {d e} {\left | x \right |}}\right ) - \sqrt {e x^{2} + d}\right )} b n}{e} + \frac {\sqrt {e x^{2} + d} b \log \left (c x^{n}\right )}{e} + \frac {\sqrt {e x^{2} + d} a}{e} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.01 \[ \int \frac {x\,\left (a+b\,\ln \left (c\,x^n\right )\right )}{\sqrt {e\,x^2+d}} \,d x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 4.81, size = 126, normalized size = 1.73 \[ a \left (\begin {cases} \frac {x^{2}}{2 \sqrt {d}} & \text {for}\: e = 0 \\\frac {\sqrt {d + e x^{2}}}{e} & \text {otherwise} \end {cases}\right ) - b n \left (\begin {cases} \frac {x^{2}}{4 \sqrt {d}} & \text {for}\: e = 0 \\- \frac {\sqrt {d} \operatorname {asinh}{\left (\frac {\sqrt {d}}{\sqrt {e} x} \right )}}{e} + \frac {d}{e^{\frac {3}{2}} x \sqrt {\frac {d}{e x^{2}} + 1}} + \frac {x}{\sqrt {e} \sqrt {\frac {d}{e x^{2}} + 1}} & \text {otherwise} \end {cases}\right ) + b \left (\begin {cases} \frac {x^{2}}{2 \sqrt {d}} & \text {for}\: e = 0 \\\frac {\sqrt {d + e x^{2}}}{e} & \text {otherwise} \end {cases}\right ) \log {\left (c x^{n} \right )} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________